package com.google.code.springbreeze.dao;

import java.util.List;

import com.google.code.springbreeze.entity.Account;
import com.google.code.springbreeze.entity.Page;

public interface AccountMapper {

	List<Account> getAllAccount(Page page);
	int getAllAccountCount();
	
	Account getAccountByUsernameAndPassword(Account account);
	
	Account getAccountByUserID(String userid);

	void insertAccount(Account account);
	
	int updateAccount(Account account);
	
	int deleteAccountByUserID(String userid);

}
